{% extends "admin/layout/main_app.html" %}
{% block main %}
<div class="card">
    <div class="card-body">
        <div class="table-responsive">
            <table class="table table-hover table-center mb-0">
                <thead>
                    <tr>
                        <th>用户</th>
                        <th width="120">创建时间</th>
                        <th class="text-center" width="100">操作</th>
                    </tr>
                </thead>
                <tbody>
                    {% for item in data %}
                    <tr>
                        <td>
                            <h2 class="table-avatar">
                                <!-- <a href="profile.html" class="avatar avatar-sm mr-2"><img class="avatar-img rounded-circle" src="assets/img/profiles/avatar-03.jpg" alt="User Image"></a> -->
                                <a href="profile.html">{{item.username}}</a>
                            </h2>
                        </td>
                        <td>{{item.created_time}}</td>
                        <td class="text-right">
                            <div class="actions">
                                <a href="#" class="btn btn-sm bg-success-light mb-1">
                                    <i class="fe fe-pencil"></i> 修改
                                </a>
                                <a href="#" class="btn btn-sm bg-danger-light">
                                    <i class="fe fe-trash"></i> 删除
                                </a>
                            </div>
                        </td>
                    </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>
        <div class="card-footer d-flex justify-content-end">
            {{ ctx.locals.pageRender | safe }}
        </div>
      
    </div>
</div>
{% endblock %}